// pages/cangchu-order/cangchu-order.js
Page({
  /**
   * 页面的初始数据
   */
  data: {
    activeType: "1",
    menus: [
      {
        title: "全部",
        value: "1",
      },
      {
        title: "待发货",
        value: "2",
      },
      {
        title: "待收货",
        value: "3",
      },
      {
        title: "已完成",
        value: "4",
      },
      {
        title: "已取消",
        value: "6",
      },
    ],
    listData: {
      type: "1",
      datas: [
        {
          id: 1,
          orderid: "1133443434233234",
          productName:
            "丰田 - 埃尔法-Toyota Alphard内饰埃尔法-Toyota Alphard内饰",
          combo: "航海时代",
          image: 'http://localhost:8000/images/home-1.png',
          modelType: "车型：2011款2.4L 豪华版",
          money: "19999.00",
          status: "待发货",
          needInstall: true,
          count: 1
        },
        {
          id: 2,
          orderid: "1133443434233234",
          image: 'http://localhost:8000/images/home-2.png',
          productName:
            "丰田 - 埃尔法-Toyota Alphard内饰埃尔法-Toyota Alphard内饰",
          combo: "航海时代",
          modelType: "车型：2011款2.4L 豪华版",
          money: "19999.00",
          status: "待收货",
          needInstall: false,
          count: 1
        },
        {
          id: 3,
          orderid: "1133443434232342",
          image: 'http://localhost:8000/images/home-2.png',
          productName:
            "丰田 - 埃尔法-Toyota Alphard内饰埃尔法-Toyota Alphard内饰",
          combo: "航海时代",
          modelType: "车型：2011款2.4L 豪华版",
          money: "19999.00",
          status: "已完成",
          needInstall: false,
          count: 1
        },
        {
          id: 4,
          orderid: "113344343423233434",
          image: 'http://localhost:8000/images/home-2.png',
          productName:
            "丰田 - 埃尔法-Toyota Alphard内饰埃尔法-Toyota Alphard内饰",
          combo: "航海时代",
          modelType: "车型：2011款2.4L 豪华版",
          money: "19999.00",
          status: "已取消",
          needInstall: false,
          count: 1
        },
        {
          id: 5,
          orderid: "1133344343423233434",
          image: 'http://localhost:8000/images/home-2.png',
          productName:
            "丰田 - 埃尔法-Toyota Alphard内饰埃尔法-Toyota Alphard内饰",
          combo: "航海时代",
          modelType: "车型：2011款2.4L 豪华版",
          money: "19999.00",
          status: "已取消",
          needInstall: false,
          count: 1
        },
        {
          id: 6,
          orderid: "11334434342333233434",
          image: 'http://localhost:8000/images/home-2.png',
          productName:
            "丰田 - 埃尔法-Toyota Alphard内饰埃尔法-Toyota Alphard内饰",
          combo: "航海时代",
          modelType: "车型：2011款2.4L 豪华版",
          money: "19999.00",
          status: "已取消",
          needInstall: false,
          count: 1
        },
      ],
    },
  },

  handleTypeChange(e) {
    debugger;
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {},

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {},

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {},

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {},

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {},

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {},

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {},

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {},
});
